{% extends '../layouts/layout.html' %}

{% block content %}
<article class="topic-content">
  <section class="topic-article">
    <div class="topic-body">
      <p>
        <label class="label">顯示名稱:</label>
        <div class="field">
          <span>{{ user.display_name }}</span>
        </div>
      </p>
      <p>
        <label class="label">個人網站:</label>
        <div class="field">
          <span>{{ user.website }}</span>
        </div>        
      </p>
      <p>
        <label class="label">個人簡介:</label>
        <div class="field">
          <p>{{ user.profile|bbcode_content|linebreaks }}</p>
          <p>&nbsp;</p>
        </div>
      </p>
      <p>
        <label class="label">文章發表數:</label>
        <div class="field">
          <span>{{ user.posts_count }}</span>
        </div>
      </p>
    </div>
  </section>
  <aside class="topic-userbox">
    <img src="{{ user.thumbnail_url }}" alt="{{ user.display_name }}" width="48" height="48">
    <br>
    <a href="/u/{{ user.display_name }}">{{ user.display_name }}</a>
  </aside>
  <div class="clear"></div>
</article>
{% endblock %}
